﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class User_seminar_detail : System.Web.UI.Page
{
    myDataSetTableAdapters.SeminarsTableAdapter semAdapter = new myDataSetTableAdapters.SeminarsTableAdapter();
    protected void Page_Load(object sender, EventArgs e)
    {
        int id = int.Parse(Request["id"].ToString());
        myDataSet.SeminarsDataTable semTable = semAdapter.GetDataById(id);
        linkImg.ImageUrl = "../" + semTable.Rows[0]["image"].ToString();
        linkTitle.Text = semTable.Rows[0]["title"].ToString();
        lblDes.Text = semTable.Rows[0]["description"].ToString();
        lblsDate.Text = semTable.Rows[0]["sDate"].ToString();
        lbleDate.Text = semTable.Rows[0]["eDate"].ToString();
        lblConduct.Text = semTable.Rows[0]["conducted_by"].ToString();
        lblContent.Text = semTable.Rows[0]["content"].ToString();
    }
}
